<?php /* Smarty version 2.6.19, created on 2008-07-12 21:12:52
         compiled from userlist/all.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'default', 'userlist/all.tpl', 73, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "inc/header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<div id="content">
<table id="mytable" cellspacing="0" summary="List of registed users">
<caption>List of registed users</caption>
  <tr>
    <th scope="col">
    		<a href = "/admin/userlist/all/login/1/">^</a>
			Nick
			<a href = "/admin/userlist/all/login/0/">^</a>
	</th>
    <th scope="col">
    	<a href = "/admin/userlist/all/active/1/">^</a>
		Status
		<a href = "/admin/userlist/all/active/0/">^</a>
	</th>
    <th scope="col">
	<a href = "/admin/userlist/all/last_visit/1/">^</a>
	Last visit
	<a href = "/admin/userlist/all/last_visit/0/">^</a>
	</th>
	<th scope="col">
	<a href = "/admin/userlist/all/sex/1/">^</a>
	Sex
	<a href = "/admin/userlist/all/sex/0/">^</a>
	</th>
	<th scope="col">
	<a href = "/admin/userlist/all/block/1/">^</a>
	Block
	<a href = "/admin/userlist/all/block/0/">^</a>
	</th>
	<th scope="col">
	<a href = "/admin/userlist/all/avatar/1/">^</a>
	Avatar
	<a href = "/admin/userlist/all/avatar/0/">^</a>
	</th>
	<th scope="col">
	<a href = "/admin/userlist/all/created/1/">^</a>
	registed
	<a href = "/admin/userlist/all/created/0/">^</a>
	</th>
	<th scope="col">
	<a href = "/admin/userlist/all/abused/1/">^</a>
	Abuses
	<a href = "/admin/userlist/all/abused/0/">^</a>
	</th>
	<th scope="col">
	<a href = "/admin/userlist/all/rating/1/">^</a>
	Rating
	<a href = "/admin/userlist/all/rating/0/">^</a>
	</th>
	<th scope="col">
	<a href = "/admin/userlist/all/onhome/1/">^</a>
	On home
	<a href = "/admin/userlist/all/onhome/0/">^</a>
	</th>
  </tr>
  <?php $_from = $this->_tpl_vars['users']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['foo'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['foo']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['i']):
        $this->_foreach['foo']['iteration']++;
?>
  <tr>
    <th <?php if (($this->_foreach['foo']['iteration']-1)%2 == 0): ?> class="specalt"<?php else: ?> class="spec"<?php endif; ?>>
    	<a href="/admin/user/deluser/<?php echo $this->_tpl_vars['i']['user_id']; ?>
/" onclick="return confirm('Delete user <?php echo $this->_tpl_vars['i']['user_login']; ?>
. \nAre you sure?');">
    		<img src="/media/admin/img/bg-action-delete.gif">
		</a>
    		<a href="/admin/userlist/profile/<?php echo $this->_tpl_vars['i']['user_id']; ?>
/">
    		<?php echo $this->_tpl_vars['i']['user_login']; ?>
<?php if ($this->_tpl_vars['i']['abuse_count'] > 0): ?><b><div id = "offline">(!)</div></b><?php endif; ?>
			</a>
	</th>
    <td <?php if (($this->_foreach['foo']['iteration']-1)%2 == 0): ?> class="alt"<?php endif; ?>>
    	<?php if ($this->_tpl_vars['i']['user_active'] == 0): ?><div id="offline">offline</div><?php else: ?>
		<div id="online">online</div><?php endif; ?>
	</td>
	<td <?php if (($this->_foreach['foo']['iteration']-1)%2 == 0): ?> class="alt"<?php endif; ?>><?php echo $this->_tpl_vars['i']['user_last_visit']; ?>
</td>
	<td <?php if (($this->_foreach['foo']['iteration']-1)%2 == 0): ?> class="alt"<?php endif; ?>><?php echo $this->_tpl_vars['i']['user_sex']; ?>
</td>
	<td <?php if (($this->_foreach['foo']['iteration']-1)%2 == 0): ?> class="alt"<?php endif; ?>><?php echo ((is_array($_tmp=@$this->_tpl_vars['i']['user_block'])) ? $this->_run_mod_handler('default', true, $_tmp, 'No') : smarty_modifier_default($_tmp, 'No')); ?>
</td>
	<td <?php if (($this->_foreach['foo']['iteration']-1)%2 == 0): ?> class="alt"<?php endif; ?>>
			<?php if ('' == $this->_tpl_vars['i']['user_avatar']): ?>No<?php else: ?>Yes<?php endif; ?>
	</td>
	<td <?php if (($this->_foreach['foo']['iteration']-1)%2 == 0): ?> class="alt"<?php endif; ?>><?php echo $this->_tpl_vars['i']['user_created']; ?>
</td>
	<td <?php if (($this->_foreach['foo']['iteration']-1)%2 == 0): ?> class="alt"<?php endif; ?>><?php echo $this->_tpl_vars['i']['abuse_count']; ?>
</td>
	<td <?php if (($this->_foreach['foo']['iteration']-1)%2 == 0): ?> class="alt"<?php endif; ?>><?php echo ((is_array($_tmp=@$this->_tpl_vars['i']['user_rating'])) ? $this->_run_mod_handler('default', true, $_tmp, no) : smarty_modifier_default($_tmp, no)); ?>
</td>
	<td <?php if (($this->_foreach['foo']['iteration']-1)%2 == 0): ?> class="alt"<?php endif; ?>>
		<?php if ($this->_tpl_vars['i']['user_show_on_home'] == 0): ?>no<?php else: ?>yes<?php endif; ?>
	</td>
  </tr>
  <?php endforeach; else: ?>
  No user
  <?php endif; unset($_from); ?>
</table>

<div class="side-col last">

<div class="action add" id="add_flow">
			<a href="/admin/user/adduser/">Add user</a>
</div>
</div>
<hr />
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "inc/pager.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<br /><br />

<!-- content-->
</div>

</body>
</html>